#!/usr/bin/env python3
# -*- coding:UTF-8 -*-
# Author: nigo

volume = 250
if volume <= 216:
    price = 1.74 * volume
elif volume < 300:
    price = 2.61 * volume
else:
    price = 5.22 * volume
print(price)
